package top.lunarye.modules.staff.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import top.lunarye.modules.staff.entity.RoleEnum;

import java.io.Serializable;

/**
 * @description:
 * @author: lunar
 * @since: 2021-07-22
 */
@Data
public class StaffUpdateDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "人员id", required = true)
    private Integer id;
    @ApiModelProperty(value = "人员姓名", required = true)
    private String name;
    @ApiModelProperty(value = "人员角色", required = true)
    private RoleEnum role;
    @ApiModelProperty(value = "人员用户名", required = true)
    private String userName;
    @ApiModelProperty(value = "人员密码", required = true)
    private String userPassword;
    @ApiModelProperty(value = "人员编号", required = false)
    private String staffNumber;
    @ApiModelProperty(value = "是否禁用", required = true)
    private Integer isDisable;
}
